Skip to content

fix(i18n): fill missing settings keys across 9 locales#710

Open
AvinashShrivastav wants to merge 2 commits into
webadderallorg:mainfrom
AvinashShrivastav:fix/i18n-missing-keys-settings
Open

fix(i18n): fill missing settings keys across 9 locales#710
AvinashShrivastav wants to merge 2 commits into
webadderallorg:mainfrom
AvinashShrivastav:fix/i18n-missing-keys-settings

Conversation

@AvinashShrivastav

@AvinashShrivastav AvinashShrivastav commented Jun 27, 2026

Copy link
Copy Markdown

Description

Fill missing translation keys across 9 non-English locales (es, fr, it, ko, nl, pt-BR, ru, zh-CN, zh-TW) in settings.json. Keys were identified and verified using npm run i18n:check.

Motivation

npm run i18n:check was failing with 100+ missing key errors. Non-English users were seeing English fallback text for cursor click effects, motion presets, spring physics controls, and temporal zoom blur settings introduced in recent updates. This PR makes all locales structurally consistent with the English source.

Type of Change

  • New Feature
  • Bug Fix
  • Refactor / Code Cleanup
  • Documentation Update
  • Other (please specify)

Related Issue(s)

N/A

Testing Guide

Run the i18n consistency check:

npm run i18n:check
# Expected: "locale files are structurally consistent"

Checklist

  • I have performed a self-review of my code.
  • I have added any necessary screenshots or videos. (N/A — JSON-only change, no visual diff)
  • I have linked related issue(s) and updated the changelog if applicable.

Summary by CodeRabbit

  • New Features

    • Expanded localized settings copy for zoom motion blur (including temporal options), motion/animation presets, cursor spring tuning, and cursor click effects.
    • Added new cursor click effect options—none, ripple, spotlight, and echo—plus associated labels and advanced controls across supported languages.
  • Bug Fixes

    • Removed outdated caption editing labels (e.g., “edit current” / “edit saved”) from settings locales to keep terminology consistent.

Add missing translation keys to es, fr, it, ko, nl, pt-BR, ru, zh-CN,
and zh-TW that were flagged by npm run i18n:check.

Keys added per locale:
- es, fr, pt-BR: temporalZoomMotionBlur group, motionPresets group,
  cursorSpring group (stiffness/damping/mass), cursorClickEffects block
- it, ru: cursorClickEffects block only
- ko, nl: temporalZoomMotionBlur group, motionPresets group,
  cursorSpring group, cursorClickEffects block
- zh-CN: temporalZoomMotionBlur group, cursorClickEffects block
- zh-TW: temporalZoomMotionBlur group, motionPresets group,
  cursorSpring group, cursorClickEffects block

Also removed extra captions keys (editCurrent, editSaved) from es, fr,
ko, nl, pt-BR, zh-TW that were not present in the English source.

Passes: npm run i18n:check reports 'locale files are structurally consistent'
@coderabbitai

coderabbitai Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 94768768-75b4-453d-9ee8-8e7f0216e178

📥 Commits

Reviewing files that changed from the base of the PR and between ec977d1 and 5c95e30.

📒 Files selected for processing (3)
  • src/i18n/locales/ko/settings.json
  • src/i18n/locales/nl/settings.json
  • src/i18n/locales/pt-BR/settings.json
✅ Files skipped from review due to trivial changes (1)
  • src/i18n/locales/ko/settings.json
🚧 Files skipped from review as they are similar to previous changes (2)
  • src/i18n/locales/nl/settings.json
  • src/i18n/locales/pt-BR/settings.json

📝 Walkthrough

Walkthrough

Adds new localization keys for temporal zoom motion blur, motion presets, and cursor click effects across multiple settings locales, and removes two caption editing keys from several of them.

Changes

Settings locale updates

Layer / File(s) Summary
Temporal zoom motion blur strings
src/i18n/locales/es/settings.json, src/i18n/locales/fr/settings.json, src/i18n/locales/ko/settings.json, src/i18n/locales/nl/settings.json, src/i18n/locales/pt-BR/settings.json, src/i18n/locales/zh-CN/settings.json, src/i18n/locales/zh-TW/settings.json
Adds temporal zoom motion blur labels, descriptions, sample and shutter fields, and an auto option.
Motion preset strings
src/i18n/locales/es/settings.json, src/i18n/locales/fr/settings.json, src/i18n/locales/ko/settings.json, src/i18n/locales/nl/settings.json, src/i18n/locales/pt-BR/settings.json, src/i18n/locales/zh-TW/settings.json
Adds motion preset section text and focused/smooth preset labels and descriptions.
Cursor click effects strings
src/i18n/locales/es/settings.json, src/i18n/locales/fr/settings.json, src/i18n/locales/it/settings.json, src/i18n/locales/ko/settings.json, src/i18n/locales/nl/settings.json, src/i18n/locales/pt-BR/settings.json, src/i18n/locales/ru/settings.json, src/i18n/locales/zh-CN/settings.json, src/i18n/locales/zh-TW/settings.json
Adds cursor spring parameter labels and cursorClickEffects blocks with advanced controls and none/ripple/spotlight/echo variants.
Caption key removals
src/i18n/locales/es/settings.json, src/i18n/locales/fr/settings.json, src/i18n/locales/ko/settings.json, src/i18n/locales/nl/settings.json, src/i18n/locales/pt-BR/settings.json, src/i18n/locales/zh-TW/settings.json
Removes the editCurrent and editSaved caption keys from the affected locales.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: filling missing i18n settings keys across 9 locales.
Description check ✅ Passed The description covers purpose, motivation, change type, related issues, testing, and checklist; only screenshots/video is omitted as N/A.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/i18n/locales/ko/settings.json`:
- Around line 74-76: Several Korean localization strings in settings.json are
machine-corrupted and need to be rewritten with natural Korean before release.
Review the affected copy under the smooth entry and the other impacted
description keys in the same locale file, then replace phrases like “세련된 레블”,
“셋스러운”, “령이”, “훈레이션”, and “포격적으로” with clean, user-facing Korean while
preserving each setting’s meaning and tone.

In `@src/i18n/locales/nl/settings.json`:
- Around line 109-112: The Dutch click-effect description in the locale entry
under the “none” setting contains a typo: update the text in the settings
translation so “cursorbeweiging” is corrected to “cursorbeweging” in the
description string.

In `@src/i18n/locales/pt-BR/settings.json`:
- Around line 65-68: The new pt-BR motion preset copy in settings.json lost its
Portuguese diacritics, so update the affected locale strings under the motion
preset entries to use proper Brazilian Portuguese accents. Fix the values for
motionPresetsTitle, motionPresetsZoomHint, animationPresets, and
cursorMotionPresets so they read naturally with the correct accented forms,
matching the style of the rest of the pt-BR locale file.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 3064e57e-e9c8-4a01-bf28-e0a5ec0997ea

📥 Commits

Reviewing files that changed from the base of the PR and between d8e34a1 and ec977d1.

📒 Files selected for processing (9)
  • src/i18n/locales/es/settings.json
  • src/i18n/locales/fr/settings.json
  • src/i18n/locales/it/settings.json
  • src/i18n/locales/ko/settings.json
  • src/i18n/locales/nl/settings.json
  • src/i18n/locales/pt-BR/settings.json
  • src/i18n/locales/ru/settings.json
  • src/i18n/locales/zh-CN/settings.json
  • src/i18n/locales/zh-TW/settings.json

Comment thread src/i18n/locales/ko/settings.json Outdated
Comment thread src/i18n/locales/nl/settings.json
Comment thread src/i18n/locales/pt-BR/settings.json Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant